package org.ISCS.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.ISCS.entity.K8sinfo;
import org.ISCS.service.K8sinfoService;
import org.ISCS.mapper.K8sinfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author mj
* @description 针对表【k8sinfo】的数据库操作Service实现
* @createDate 2023-05-24 20:32:17
*/
@Service
public class K8sinfoServiceImpl extends ServiceImpl<K8sinfoMapper, K8sinfo>
    implements K8sinfoService{

    @Autowired
    K8sinfoMapper k8sinfoMapper;
    @Override
    public int insertK8sInfo(K8sinfo k8sinfo) {
        int id = k8sinfoMapper.insert(k8sinfo);
        return id;
    }

    @Override
    public int updateK8sInfo(K8sinfo k8sinfo) {
        int id = k8sinfoMapper.updateById(k8sinfo);
        return id;
    }
}




